package com.qyhl.cloud.webtv.module_integral.message;


import com.qyhl.webtv.commonlib.entity.intergral.MessageBean;

import java.util.List;

public interface MessageContract {
    interface MessageView {
        void getMessageSuccess(List<MessageBean> beanList);

        void getMessageError(String msg);

        void netWorkError(String msg);
    }

    interface MessagePresenter {
        void getMessage(String username, String lastDate);

        void getMessageSuccess(List<MessageBean> beanList);

        void getMessageError(int code, String msg);

        void domark(String username);
    }

    interface MessageModel {
        void getMessage(String username, String lastDate);

        void domark(String username);
    }
}
